package com.share.shareplatform.sharegoods.dao;


import com.share.shareplatform.pojo.Shop;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShopDao {
    Long addOne(Shop shop);
    Integer updateOne(Shop shop);
    Integer deleteOneById(Long id);
    Integer deleteAllByIds(Long[] ids);
    Shop findOneByName(String name);
    Shop findOneById(Long id);
    Shop findOneByUserId(Long id);

}
